# -*- coding: utf-8 -*-

# Form implementation generated from reading ui file 'Ui_Bioidx.ui'
#
# Created: Sun Dec  6 16:02:09 2009
#      by: PyQt4 UI code generator 4.6
#
# WARNING! All changes made in this file will be lost!

from PyQt4 import QtCore, QtGui

class Ui_Bioidx(object):
    def setupUi(self, Bioidx):
        Bioidx.setObjectName("Bioidx")
        Bioidx.setWindowModality(QtCore.Qt.ApplicationModal)
        Bioidx.resize(589, 481)
        icon = QtGui.QIcon()
        icon.addPixmap(QtGui.QPixmap(":/plugins/habitatbioidx/icon.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        Bioidx.setWindowIcon(icon)
        Bioidx.setModal(True)
        self.verticalLayout = QtGui.QVBoxLayout(Bioidx)
        self.verticalLayout.setObjectName("verticalLayout")
        self.label_5 = QtGui.QLabel(Bioidx)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Maximum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.label_5.sizePolicy().hasHeightForWidth())
        self.label_5.setSizePolicy(sizePolicy)
        self.label_5.setWordWrap(True)
        self.label_5.setObjectName("label_5")
        self.verticalLayout.addWidget(self.label_5)
        self.gridLayout = QtGui.QGridLayout()
        self.gridLayout.setObjectName("gridLayout")
        self.label = QtGui.QLabel(Bioidx)
        self.label.setObjectName("label")
        self.gridLayout.addWidget(self.label, 0, 0, 1, 1)
        self.layerPlaces = QtGui.QComboBox(Bioidx)
        self.layerPlaces.setObjectName("layerPlaces")
        self.gridLayout.addWidget(self.layerPlaces, 0, 1, 1, 1)
        self.label_2 = QtGui.QLabel(Bioidx)
        self.label_2.setObjectName("label_2")
        self.gridLayout.addWidget(self.label_2, 1, 0, 1, 1)
        self.layerHabitats = QtGui.QComboBox(Bioidx)
        self.layerHabitats.setObjectName("layerHabitats")
        self.gridLayout.addWidget(self.layerHabitats, 1, 1, 1, 1)
        self.label_4 = QtGui.QLabel(Bioidx)
        self.label_4.setObjectName("label_4")
        self.gridLayout.addWidget(self.label_4, 4, 0, 1, 1)
        self.label_9 = QtGui.QLabel(Bioidx)
        self.label_9.setObjectName("label_9")
        self.gridLayout.addWidget(self.label_9, 5, 0, 1, 1)
        self.fieldName = QtGui.QLineEdit(Bioidx)
        self.fieldName.setObjectName("fieldName")
        self.gridLayout.addWidget(self.fieldName, 4, 1, 1, 1)
        self.fieldName2 = QtGui.QLineEdit(Bioidx)
        self.fieldName2.setObjectName("fieldName2")
        self.gridLayout.addWidget(self.fieldName2, 5, 1, 1, 1)
        self.horizontalLayout = QtGui.QHBoxLayout()
        self.horizontalLayout.setObjectName("horizontalLayout")
        self.gridLayout.addLayout(self.horizontalLayout, 6, 1, 1, 1)
        self.label_3 = QtGui.QLabel(Bioidx)
        self.label_3.setObjectName("label_3")
        self.gridLayout.addWidget(self.label_3, 2, 0, 1, 1)
        self.sourceField = QtGui.QComboBox(Bioidx)
        self.sourceField.setObjectName("sourceField")
        self.gridLayout.addWidget(self.sourceField, 2, 1, 1, 1)
        self.label_6 = QtGui.QLabel(Bioidx)
        self.label_6.setObjectName("label_6")
        self.gridLayout.addWidget(self.label_6, 3, 0, 1, 1)
        self.horizontalLayout_2 = QtGui.QHBoxLayout()
        self.horizontalLayout_2.setObjectName("horizontalLayout_2")
        self.definitionsFile = QtGui.QLineEdit(Bioidx)
        self.definitionsFile.setObjectName("definitionsFile")
        self.horizontalLayout_2.addWidget(self.definitionsFile)
        self.btnBrowse = QtGui.QPushButton(Bioidx)
        self.btnBrowse.setObjectName("btnBrowse")
        self.horizontalLayout_2.addWidget(self.btnBrowse)
        self.gridLayout.addLayout(self.horizontalLayout_2, 3, 1, 1, 1)
        self.verticalLayout.addLayout(self.gridLayout)
        self.progressBar = QtGui.QProgressBar(Bioidx)
        self.progressBar.setProperty("value", 0)
        self.progressBar.setObjectName("progressBar")
        self.verticalLayout.addWidget(self.progressBar)
        self.buttonBox = QtGui.QDialogButtonBox(Bioidx)
        self.buttonBox.setOrientation(QtCore.Qt.Horizontal)
        self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Cancel|QtGui.QDialogButtonBox.Ok)
        self.buttonBox.setObjectName("buttonBox")
        self.verticalLayout.addWidget(self.buttonBox)

        self.retranslateUi(Bioidx)
        QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL("rejected()"), Bioidx.reject)
        QtCore.QMetaObject.connectSlotsByName(Bioidx)

    def retranslateUi(self, Bioidx):
        Bioidx.setWindowTitle(QtGui.QApplication.translate("Bioidx", "Biodiversity by habitats", None, QtGui.QApplication.UnicodeUTF8))
        self.label_5.setText(QtGui.QApplication.translate("Bioidx", "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.0//EN\" \"http://www.w3.org/TR/REC-html40/strict.dtd\">\n"
"<html><head><meta name=\"qrichtext\" content=\"1\" /><style type=\"text/css\">\n"
"p, li { white-space: pre-wrap; }\n"
"</style></head><body style=\" font-family:\'Sans\'; font-size:10pt; font-weight:400; font-style:normal;\">\n"
"<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><span style=\" font-family:\'Liberation Sans\'; font-weight:600;\">Calculate the biodiversity based on habitats. </span></p>\n"
"<p style=\"-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:\'Liberation Sans\'; font-weight:600;\"></p>\n"
"<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><span style=\" font-family:\'Liberation Sans\'; font-style:italic;\">The target layer needs to be the regions in which the biodiversity should be calculated e.g. a grid. The habitat layer needs to represent the habitats with a field containing the habitat types. A file needs to be supplied describing which species exist in this habitat. An example of such file can be found </span><a href=\"habitats_nature2000.txt\"><span style=\" text-decoration: underline; color:#0000ff;\">here</span></a><span style=\" font-family:\'Liberation Sans\'; font-style:italic;\">.</span></p>\n"
"<p style=\"-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:\'Liberation Sans\'; font-style:italic;\"></p>\n"
"<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><span style=\" font-family:\'Liberation Sans\'; font-style:italic;\">The diversity is calculated with the Shannon diversity index. This requires a proportial for every species. The proportion is calculated by the average land coverage per habitat. Both the diversity (H) and the evenness (E) is calculated.</span></p>\n"
"<p style=\"-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:\'Liberation Sans\';\"></p></body></html>", None, QtGui.QApplication.UnicodeUTF8))
        self.label.setText(QtGui.QApplication.translate("Bioidx", "Target layer:", None, QtGui.QApplication.UnicodeUTF8))
        self.label_2.setText(QtGui.QApplication.translate("Bioidx", "Habitat layer:", None, QtGui.QApplication.UnicodeUTF8))
        self.label_4.setText(QtGui.QApplication.translate("Bioidx", "Target field diversity (H):", None, QtGui.QApplication.UnicodeUTF8))
        self.label_9.setText(QtGui.QApplication.translate("Bioidx", "Target field eveness (E):", None, QtGui.QApplication.UnicodeUTF8))
        self.fieldName.setText(QtGui.QApplication.translate("Bioidx", "H", None, QtGui.QApplication.UnicodeUTF8))
        self.fieldName2.setText(QtGui.QApplication.translate("Bioidx", "E", None, QtGui.QApplication.UnicodeUTF8))
        self.label_3.setText(QtGui.QApplication.translate("Bioidx", "Habitat field:", None, QtGui.QApplication.UnicodeUTF8))
        self.label_6.setText(QtGui.QApplication.translate("Bioidx", "Habitat definations:", None, QtGui.QApplication.UnicodeUTF8))
        self.btnBrowse.setText(QtGui.QApplication.translate("Bioidx", "Browse", None, QtGui.QApplication.UnicodeUTF8))

import resources_rc
